package psobczuk.observer;

public class TestDrive {
	public static void main(String[] args) {
		
		FireDetector fd = new FireDetector();
		fd.addOnFireObserver( new FireAlarm() );
		fd.addOnFireObserver( new FireSuppresionSystem() );
		
		fd.simulateFire();
		
	}
}
